[index]
ReleaseStack Message
Syntax
on releaseStack
end releaseStack
Sent to the most recently deactivated library stack
Description
The releaseStack message is generated whenever a library stack is made inactive through the issuance of the release library command.
Notes
A releaseStack handler should verify that the stack in which the handler resides is the intended recipient of the message. If the newly deactivated library stack does not handle the releaseStack message, the message is passed up the hierarchy and will be sent to other active library stacks until it is handled.
Examples
Place the following handler in the script of the stack you intend to library. The handler checks that the stack is the intended recipient of the releaseStack message. If the stack is correct, a dialog box is displayed to confirm the release of the stack.
on releaseStack
if the name of the target is the name of me then
else
pass releaseStack
end if
This text has been mechanically extracted from the Oracle Media Objects 1.0.4.9 MediaTalk Reference, © 1995 Oracle Corporation, and is provided here solely for educational/historical purposes.